package com.jiangjiang.eshop.order.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @ClassName OrderOperateLogEntity
 * @Description TODO
 * @Author jhw
 * @Date 2021/8/24 21:06
 * @Version 1.0
 **/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("order_operate_log")
public class OrderOperateLogEntity {
    /**
     * id
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    /**
     * 订单id
     */
    @TableField("order_info_id")
    private Long orderInfoId;
    /**
     * 操作类型
     */
    @TableField("operate_type")
    private Integer operateType;
    /**
     * 操作内容
     */
    @TableField("operate_content")
    private String operateContent;
    /**
     * 创建时间
     */
    @TableField(value = "gmt_create",fill = FieldFill.INSERT)
    private Date gmtCreate;
    /**
     * 修改时间
     */
    @TableField(value = "gmt_modified",fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;
}
